package com.iplant.mes.serviceImpl.dao.exc;

import com.iplant.base.po.OutResult;
import com.iplant.base.po.enums.ExceptionTypes;
import com.iplant.base.utils.annotation.dao.DBBaseDAO;
import com.iplant.base.utils.sql.BaseDAO;
import com.iplant.basic.service.po.bms.BMSEmployee;
import com.iplant.mes.service.po.exc.EXCProductRepairItem;
import lombok.extern.slf4j.Slf4j;

import java.util.HashMap;
import java.util.Map;

@DBBaseDAO(EXCProductRepairItem.class)
@Slf4j
public class EXCProductRepairItemDAO extends BaseDAO {

    private static EXCProductRepairItemDAO Instance = null;

    public static EXCProductRepairItemDAO getInstance() {
        if (Instance == null) {
            Instance = new EXCProductRepairItemDAO();
        }
        return Instance;
    }

    public EXCProductRepairItemDAO() {
        super("");
        this.Init();
    }


    public void EXC_UpdateProductRepairItem(BMSEmployee wLoginUser, EXCProductRepairItem wEXCProductRepairItem, OutResult<Integer> wErrorCode) {

        try {
            //如果新增



        } catch (Exception ex) {
            wErrorCode.Result = ExceptionTypes.DBSQL.getValue();
            log.error("EXC_UpdateProductRepairItem", ex.getMessage());
        }
    }


}
